package guoanmaker.operator.business.modelnobind;

import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
 * 
* @ClassName: ProvideOrderFormForOrder 
* @Description: 订单查询的业务bean
* @author Yvonne_MGL
* @date 2017年7月6日 下午3:29:04 
*  
 */
@Getter
@Setter

@NoArgsConstructor
public class ProvideOrderFormForOrder{
	private String id;
	private String orderNumber;//订单编号
	private Date placeOrderTime;//下单时间
	private Integer quantity;//数量
	private Double unitPrice;//商品单价
	private Double realPrice;//实际价格(发生退款变化)
	private Double truePrice;//实际价格(发生退款不变)
	private String orderStatus;//订单状态  1待支付  2待接单  3服务中  4待确认   5退款处理中(用户发起退款)   6已完成   7已关闭  8已关闭(退款完成)  9退款处理中(商家已拒绝退款)  10退款处理中(服务商接受退款并向财务发起退款,等待财务平台处理) 11已关闭(服务商发起关闭订单,等待财务平台退款) 12已关闭(未接单发生退款并且完成了退款)  13已完成（已评价）  14议价商品待沟通      15已关闭（已付款但未退款）
	private String remark;//备注
	private Date defrayTime;//支付时间
	private Date acceptOrderTime;//接单时间
	private String defrayNumber;//支付单号
	private Date applyforCompleteTime;//商家完成服务时间
	private Date confirmTime;//买家确认完成时间
	private Date applyforRefundsTime;//买家申请退款时间
	private Date confirmRefundsTime;//商家确认退款时间
	private Date denyRefundsTime;//商家拒绝退款时间
	private String denyRefundsReason;//拒绝退款原因
	private String contactPerson;//联系人
	private String contactNumber;//联系电话
	private String requirementDescription;//需求描述
	private String isOverChangePrice;//是否完成议价商品修改价格 1为已完成
	private String orderType;//订单类型 1一口价商品(非议价)   2议价商品   3预约参观     4活动报名     5租用工位
	private String userCompany;//活动报名用户所在公司
	private String visitTime;//预约参观时间
	private Integer visitorsNum;//参观人数
	private String rentedBeginDate;//租用起始时间
	private String rentedEndDate;//租用结束时间
	private Integer rentedNum;//租用天数
	private BigDecimal commission;//收取佣金
	private BigDecimal bail;//保证金
	private BigDecimal fee;//手续费
	
	private String fullOrPartRefunds;//涉及到退款的订单，部分或者全额退款标记  1为部分退款   2为全额退款
	
	private String username;//雇主用户名(手机号)
	private String nickname;//昵称
	private String email;//邮箱
	private String userRemark;//用户备注
	
	private String commodityName;//商品名称
	
	private String serverName;//服务类别
	
	private Date closeTime;//订单关闭时间
	
	private String isRead;//是否已读 0为未读  1为已读
	
    private String invoiceMail;//发票邮寄   1：包邮 2：货到付款
	
	private String invoiceState;//给用户的开票状态  0为用户已申请开票，1为已经开票
	
	private String invoiceid;//发票id
	
	private String isCheck;//是否已对账 0为未对账  1为已对账  状态为1时 佣金手续费保证金为最终金额
	
	private String commodity_smallimage;//商品小图
	
	private Long count;
	
	private String dayTime;
	
	private Double transactionAmount;      //成交量
	
	private Double preferentialAmount;     //实际成交金额
	
	private String placeOrderType;//下单方式  1为PC   2为APP
	private Double refundsAmount;//退款金额
	private Double preferentialMoney;//实际优惠金额
	private Double allAmount;//所有的交易金额
	private String paymentMethod;//支付方式   微信扫码(wx_pub_qr)，支付宝PC(alipay_pc_direct)，kq(快钱)
	public ProvideOrderFormForOrder(Long count){
		this.count=count;
	}
	public ProvideOrderFormForOrder(Double allAmount){
		this.allAmount=allAmount;
	}
	public ProvideOrderFormForOrder(Double preferentialAmount,Double preferentialMoney){
		this.preferentialAmount=preferentialAmount;
		this.preferentialMoney=preferentialMoney;
	}
	//OperatorHomePageService------------------VolumeSumMap
	public ProvideOrderFormForOrder(String dayTime,Long count,Double preferentialAmount){
		this.dayTime=dayTime;
		this.count=count;
		this.preferentialAmount=preferentialAmount;
	}
	//OperatorHomePageService--------------
	public ProvideOrderFormForOrder(Long count,Double preferentialAmount,Double preferentialMoney){
		this.count=count;
		this.preferentialAmount=preferentialAmount;
		this.preferentialMoney=preferentialMoney;
	}

	public ProvideOrderFormForOrder(String id, String orderNumber, Date placeOrderTime, Integer quantity,
			Double unitPrice, Double realPrice,Double truePrice, String orderStatus, String remark, Date defrayTime,
			Date acceptOrderTime, String defrayNumber, Date applyforCompleteTime, Date confirmTime,
			Date applyforRefundsTime, Date confirmRefundsTime, Date denyRefundsTime, String denyRefundsReason,
			String contactPerson, String contactNumber, String requirementDescription, String isOverChangePrice,
			String orderType, String userCompany, String visitTime, Integer visitorsNum, String rentedBeginDate,
			String rentedEndDate, Integer rentedNum, BigDecimal commission, BigDecimal bail, BigDecimal fee,
			String username, String nickname, String email, String userRemark, String commodityName, String serverName,
			Date closeTime,String invoiceMail, String invoiceState, String commodity_smallimage,String placeOrderType,Double refundsAmount, Double preferentialMoney,String paymentMethod) {
		super();
		this.id = id;
		this.orderNumber = orderNumber;
		this.placeOrderTime = placeOrderTime;
		this.quantity = quantity;
		this.unitPrice = unitPrice;
		this.realPrice = realPrice;
		this.truePrice = truePrice;
		this.orderStatus = orderStatus;
		this.remark = remark;
		this.defrayTime = defrayTime;
		this.acceptOrderTime = acceptOrderTime;
		this.defrayNumber = defrayNumber;
		this.applyforCompleteTime = applyforCompleteTime;
		this.confirmTime = confirmTime;
		this.applyforRefundsTime = applyforRefundsTime;
		this.confirmRefundsTime = confirmRefundsTime;
		this.denyRefundsTime = denyRefundsTime;
		this.denyRefundsReason = denyRefundsReason;
		this.contactPerson = contactPerson;
		this.contactNumber = contactNumber;
		this.requirementDescription = requirementDescription;
		this.isOverChangePrice = isOverChangePrice;
		this.orderType = orderType;
		this.userCompany = userCompany;
		this.visitTime = visitTime;
		this.visitorsNum = visitorsNum;
		this.rentedBeginDate = rentedBeginDate;
		this.rentedEndDate = rentedEndDate;
		this.rentedNum = rentedNum;
		this.commission = commission;
		this.bail = bail;
		this.fee = fee;
		this.username = username;
		this.nickname = nickname;
		this.email = email;
		this.userRemark = userRemark;
		this.commodityName = commodityName;
		this.serverName = serverName;
		this.closeTime = closeTime;
		this.invoiceMail = invoiceMail;
		this.invoiceState = invoiceState;
		this.commodity_smallimage = commodity_smallimage;
		this.placeOrderType = placeOrderType;
		this.refundsAmount = refundsAmount;
		this.preferentialMoney = preferentialMoney;
		this.paymentMethod = paymentMethod;
	}

	
	
	
	
	
	
}
